package com.xiaoma.tpo.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xiaoma.tpo.dao.ForcastQuestionInfoDao;
import com.xiaoma.tpo.dto.FrcastQuestionInfoDto;

@Service
public class ForcastQuestionInfoService {

	@Autowired
	private ForcastQuestionInfoDao forcastQuestionDao;
	
	public List<FrcastQuestionInfoDto> findByQuestionId(Integer questionId) {
		return forcastQuestionDao.findByQuestionId(questionId);
	}
	public List<Object> findByQuestionIdNew(Integer questionId) {
		return forcastQuestionDao.findByQuestionIdNew(questionId);
	}
	
}
